
empty_tuple = tuple()
print(f"打印一下元组的长度{len(empty_tuple)}")
print(f"元组的类型是{type(empty_tuple)}")

not_empty_tumple = (1,1,2,3,4,False,2.2)
print(f"打印一下元组的长度{len(not_empty_tumple)}")
print(f"元组的类型是{type(empty_tuple)}")

print("========================")
for e in not_empty_tumple:
    print(f"当前元组中的值是{e}")
print("========================")


t1 = (1,2,['itheima','java'])
print(f"打印元组的值{t1}")
list = t1[2]
list[1]='python'
print(f"打印元组的值{t1}")

if __name__ == '__main__':
    print("hello,world")

